//当我们下载好craco之后，就可以进行配置了
//应用路径模块
const path=require("path");
const resolve=dir=>path.resolve(__dirname,dir);
module.exports = {
  webpack:{
    alias:{
      "@":resolve("src"),
      "components":resolve("src/components"),
      "asstes":resolve("src/asstes"),
      "common":resolve("src/common"),
      "pages":resolve("src/pages"),
      "router":resolve("src/router"),
      "services":resolve("src/services"),
      "store":resolve("src/store"),
      "utils":resolve("src/utils"),
    }
  }
};